package com.leadingsoft.pwxk.converter;

import org.springframework.stereotype.Component;

import com.leadingsoft.common.converter.AbstractConverter;
import com.leadingsoft.pwxk.dto.ProductDjmfdDto;
import com.leadingsoft.pwxk.model.ProductDjmfd;

/**
 * @author: lipan 2018年5月15日
 * @description: ()
 * 
 */

@Component
public class ProductDjmfdConverter extends AbstractConverter<ProductDjmfd, ProductDjmfdDto> {

	@Override
	protected ProductDjmfdDto toDtoActual(ProductDjmfd model) {

		ProductDjmfdDto dto = new ProductDjmfdDto();
		dto.setId(model.getId());
		dto.setDataid(model.getDataid());
		dto.setBeng(model.getBeng());
		dto.setFl(model.getFl());
		dto.setFmqt(model.getFmqt());
		dto.setFmyjyt(model.getFmyjyt());
		dto.setJbq(model.getJbq());
		dto.setKkf(model.getKkf());
		dto.setLjj(model.getLjj());
		dto.setQtqt(model.getQtqt());
		dto.setTechnicscode(model.getTechnicscode());
		dto.setXkcodenum(model.getXkcodenum());
		dto.setXysb(model.getXysb());
		dto.setYsj(model.getYsj());
		return dto;
	}

	@Override
	public void copyProperties(ProductDjmfd model, ProductDjmfdDto dto) {

	}

}
